package com.marvels.dubbo.externalservice.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fintech.third.model.facesign.JsonResult;
import com.fintech.third.model.message.MessageInfoPageConditionDto;
import com.fintech.third.model.message.PushMessageInfo;
import com.fintech.third.service.PushDefineBatchSend;
import com.fintech.third.service.message.PushFaceSigService;
import com.marvels.common.utils.MarvelsLogUtil;
import com.marvels.dubbo.externalservice.service.PushFaceseSigService;

import net.sf.json.JSONObject;

@Service
public class PushFaceSigServiceImpl implements PushFaceseSigService{
	
	@Autowired
	private PushFaceSigService pushFaceSigService;
	
	@Override
	public String pushFacePush(Map<String, String> map) {
		MarvelsLogUtil.getInstance().info(">>>>>>>>>dubbo推送入参:"+JSONObject.fromObject(map));
		JsonResult<String>  jsonResult = pushFaceSigService.pushFacePush(map);
		MarvelsLogUtil.getInstance().info(">>>>>>>>>dubbo推送返回参数:"+JSONObject.fromObject(jsonResult));
		return jsonResult.getData();
	}

	@Override
	public Boolean insertTimingPush(List<PushMessageInfo> list) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Boolean pushSendDefineTemplate(List<PushDefineBatchSend> list) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<PushMessageInfo> pushMessageInfoPage(MessageInfoPageConditionDto messageInfoPageConditionDto) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int countAllMessageInfo(String userId) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateMessageReadStatus(String messageId) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteMessageBatch(String userId) {
		// TODO Auto-generated method stub
		return 0;
	}

}
